package com.tedu.springdemo.day01;

public class NetConnStaticFactory {
    private NetConnStaticFactory(){}
    public static NetConnection getInstance(){
        NetConnection nc=new NetConnection();
        nc.load();
        nc.ping();
        nc.conn();
        return nc;
    }
}
